//
//  ShoppingRow.h
//  mbstore
//
//  Created by huangyi on 14-3-14.
//  Copyright (c) 2014年 huangyi. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ShoppingItem : NSObject

@property(nonatomic)int count;
@property(nonatomic)BOOL selected;

@property(nonatomic,strong)NSString *skuId;
@property(nonatomic,strong)NSString *photo;
@property(nonatomic,strong)NSString *color;
@property(nonatomic,strong)NSString *size;
@property(nonatomic,strong)NSString *itemId;
@property(nonatomic,strong)NSString *itemName;
@property(nonatomic,strong)NSString *price;
@property(nonatomic,strong)NSString *finalPrice;
@property(nonatomic,strong)NSString *discount;

@end

@interface ShoppingRow : UIView

@property(nonatomic,weak)IBOutlet UIImageView *imageView;
@property(nonatomic,weak)IBOutlet UITextView *descriptionText;
@property(nonatomic,weak)IBOutlet UITextView *colorSizeText;
@property(nonatomic,weak)IBOutlet UITextView *quantityText;
@property(nonatomic,weak)IBOutlet UILabel *priceText;
@property(nonatomic,weak)IBOutlet UILabel *finalPriceText;
@property(nonatomic,weak)IBOutlet UILabel *discountText;
@property(nonatomic,weak)IBOutlet UIImageView *checkmarkView;

-(void)prepareForReuse;
-(void)setItem:(ShoppingItem*)item;
-(void)setCheckmark:(BOOL)checkmark;

@end
